package com.le.tester.javaThink.fifth.chapter14_StreamingProgramming;

import java.io.*;

/**
 * 描述：得到剩余可用的字符串数量
 */
public class TestEOF {
    public static void main(String[] args) {
        try (DataInputStream inputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(
                "E:\\L.info\\L.Application\\L.Tester\\src\\main\\java\\com\\le\\tester\\java8\\chapter14_StreamingProgramming\\TestEOF.java")))) {
            while (inputStream.available() != 0) {
                System.out.write(inputStream.readByte());
            }
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
